package com.swyc.osschat.Test.LambdaTest.Controller;

import java.util.function.BinaryOperator;

/**
 * @author zhaol@yunrong.cn
 * @version V2.1
 * @since 2.1.0 2019/8/9 15:43
 */
public class BinaryOperatorTest {
    public static void main(String[] args) {
        BinaryOperator<Integer> operator = (x, y) -> x * y;
        Integer integer = operator.apply(2, 3);
        System.out.println(integer);
    }
}
